﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Promo.DataContract;

namespace Promo.Web.Services
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IMarketplaceService" in both code and config file together.
    [ServiceContract]
    public interface IMarketplaceService
    {
        //[OperationContract]
        //List<MarketplaceApp> GetApps();

        [OperationContract]
        List<MarketplaceApp> GetApps(string accountId);
    }

    [DataContract]
    public class AppResponse
    {
        //List<MarketplaceApp> Items { get; set; }
        [DataMember]
        string Id { get; set; }
    }
}
